/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.csource.manage.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.icinfo.framework.mybatis.mapper.annotation.Before;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 描述: 案源线索派发记录表（含分派+指派） case_source_clu_handout_record 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年08月12日
 */
@Data
@Table(name = "csource.case_source_clu_handout_record")
public class CaseSourceCluHandoutRecord implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案源id
     */
    @Column(name = "case_source_id")
    private String caseSourceId;

    /**
     * 被分派机构编码
     */
    @Column(name = "clu_assigned_org_code")
    private String cluAssignedOrgCode;

    /**
     * 被分派机构名称
     */
    @Column(name = "clu_assigned_org_name")
    private String cluAssignedOrgName;

    /**
     * 分派说明
     */
    @Column(name = "clu_assign_desc")
    private String cluAssignDesc;

    /**
     * 被指派主办人员id
     */
    @Column(name = "clu_appointed_main_person_id")
    private String cluAppointedMainPersonId;

    /**
     * 被指派主办人员名称
     */
    @Column(name = "clu_appointed_main_person_name")
    private String cluAppointedMainPersonName;

    /**
     * 被指派协办人员id
     */
    @Column(name = "clu_appointed_assist_person_id")
    private String cluAppointedAssistPersonId;

    /**
     * 被指派协办人员名称
     */
    @Column(name = "clu_appointed_assist_person_name")
    private String cluAppointedAssistPersonName;

    /**
     * 指派说明
     */
    @Column(name = "clu_appoint_desc")
    private String cluAppointDesc;

    /**
     * 分派人机构编码
     */
    @Column(name = "clu_assign_user_org_code")
    private String cluAssignUserOrgCode;

    /**
     * 分派人机构名称
     */
    @Column(name = "clu_assign_user_org_name")
    private String cluAssignUserOrgName;

    /**
     * 分派人名称
     */
    @Column(name = "clu_assign_user_name")
    private String cluAssignUserName;

    /**
     * 分派人id
     */
    @Column(name = "clu_assign_user_id")
    private String cluAssignUserId;

    /**
     * 指派人机构编码
     */
    @Column(name = "clu_appoint_user_org_code")
    private String cluAppointUserOrgCode;

    /**
     * 指派人机构名称
     */
    @Column(name = "clu_appoint_user_org_name")
    private String cluAppointUserOrgName;

    /**
     * 指派人名称
     */
    @Column(name = "clu_appoint_user_name")
    private String cluAppointUserName;

    /**
     * 指派人id
     */
    @Column(name = "clu_appoint_user_id")
    private String cluAppointUserId;

    /**
     * 分派时间
     */
    @Column(name = "clu_appoint_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date cluAppointTime;

    /**
     * 指派时间
     */
    @Column(name = "clu_assign_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date cluAssignTime;

    private static final long serialVersionUID = 1L;
}